import { AutoIncrementId, Code, DateTime, Digdit, Entity, Int, PrimaryUuid, Title } from "../utils";


@Entity({ name: 'fj_price' })
export class FjPrice {
    @PrimaryUuid()
    id: string;
    @AutoIncrementId()
    pid: number;
    @Title()
    title: string;
    @Digdit()
    level: number;
    @Digdit()
    val: number;
    @Int()
    display_order: number;
    @DateTime()
    start: Date;
    @DateTime()
    end: Date;
    @Code({default: ''})
    ota: string;
}